-- import telescope plugin safely
local status, telescope = pcall(require, "telescope")
if not status then
    return
end

-- local lga_actions = require("telescope-live-grep-args.actions")

return {{
    'nvim-telescope/telescope.nvim',
    dependencies = {
        'nvim-lua/plenary.nvim',
    },
    config = function()
        telescope.setup({
            extensions = {
                fzf = {
                    fuzzy = true,                    -- false will only do exact matching
                    override_generic_sorter = true,  -- override the generic sorter
                    override_file_sorter = true,     -- override the file sorter
                    case_mode = "smart_case",        -- or "ignore_case" or "respect_case"
                },
            }
        } )
    end
}}

